home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / OS2 / UEDP201.ARJ / UEDIT.DOC < prev    next >
Text File  |  1992-03-17  |  61KB  |  1,681 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.                               UEDit Version 2.01
  25.  
  26.                         Maximus-CBCS User Base Editor
  27.  
  28.  
  29.            (C) Copyright 1990-1992 by CodeLand, All Rights Reserved
  30.  
  31.                            Created March 17, 1992.
  32.  
  33.                  Written by Colin Wheat of Fidonet 3:690/613
  34.  
  35.               OS/2 Version ported by Graham J Stair of 3:711/409
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                               LICENSE AGREEMENT
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.     1. DISTRIBUTION.  YOU MAY COPY AND DISTRIBUTE  VERBATIM COPIES  OF
  72.        UEDIT  EXECUTABLE  CODE  AS  YOU  RECEIVE  IT, IN  ANY  MEDIUM,
  73.        PROVIDED  THAT YOU  CONSPICUOUSLY AND APPROPRIATELY  PUBLISH ON
  74.        EACH COPY A VALID COPYRIGHT NOTICE;  KEEP INTACT THE NOTICES ON
  75.        ALL FILES  THAT  REFER TO THIS  LICENSE AGREEMENT  AND  TO  THE
  76.        ABSENCE  OF  ANY  WARRANTY;  PROVIDE  UNMODIFIED  COPIES OF THE
  77.        DOCUMENTATION AS PROVIDED WITH THE PROGRAM;  AND GIVE ANY OTHER
  78.        RECIPIENTS OF UEDIT A COPY OF THIS LICENSE AGREEMENT ALONG WITH
  79.        THE PROGRAM. YOU MAY CHARGE A DISTRIBUTION FEE FOR THE PHYSICAL
  80.        ACT OF TRANSFERING  A COPY,  BUT  NO MORE THAN IS  NECESSARY TO
  81.        RECOVER  YOUR ACTUAL COSTS  INCURRED IN THE TRANSFER.  UNDER NO
  82.        CIRCUMSTANCES IS UEDIT TO BE DISTRIBUTED IN SUCH A WAY AS TO BE
  83.        CONSTRUED AS "VALUE ADDED" IN A SALES TRANSACTION, SUCH AS, BUT
  84.        NOT  LIMITED  TO,  SOFTWARE  BUNDLED  WITH A  MODEM  OR  CD-ROM
  85.        SOFTWARE COLLECTION.
  86.  
  87.     2. COPYING.  YOU MAY NOT COPY,  SUBLICENSE, DISTRIBUTE OR TRANSFER
  88.        UEDIT   EXCEPT  AS  EXPRESSLY  PROVIDED   UNDER  THIS   LICENSE
  89.        AGREEMENT.    ANY   ATTEMPT   OTHERWISE  TO  COPY,  SUBLICENSE,
  90.        DISTRIBUTE OR TRANSFER UEDIT IS VOID AND YOUR RIGHTS TO USE THE
  91.        PROGRAM UNDER THIS LICENSE AGREEMENT SHALL BE TERMINATED.
  92.  
  93.     3. MODIFICATION.  WITH THE EXCEPTION  OF ARCHIVING  METHOD,  UEDIT
  94.        SHOULD NOT BE  DISTRIBUTED  IN ANY MODIFIED FORM.  THE COMPLETE
  95.        ARCHIVE SHOULD BE DISTRIBUTED CONTAINING THE ORIGINAL FILES. IT
  96.        MAY BE RE-PACKAGED USING A DIFFERENT ARCHIVAL METHOD AS LONG AS
  97.        THE  CONTENTS  OF  THE  ARCHIVE  ARE THE SAME  AS THAT  OF  THE
  98.        DISTRIBUTION KIT. ADDITIONAL FILES MAY NOT BE ADDED TO ARCHIVE.
  99.  
  100.     4. PROGRAM STATUS.  THIS PROGRAM IS NOT  SHAREWARE,  PUBLIC DOMAIN
  101.        NOR FREEWARE.  IT IS SIMPLY "FREE FOR NON-COMMERCIAL USE".  THE
  102.        INTENDED AUDIENCE IS THE  EVER GROWING NUMBER OF NON-COMMERCIAL
  103.        MAXIMUS-CBCS  OPERATORS  WORLD  WIDE.  COMMERCIAL  SYSTEMS  ARE
  104.        ENCOURAGED TO USE THE PROGRAM HOWEVER, AND  SHOULD REGISTER THE
  105.        PRODUCT USING THE REGISTRATION FORM SUPPLIED WITH THE PACKAGE.
  106.  
  107.     5. COMMERCIAL DEFINITION.  FOR  THE  PURPOSES  OF  THIS  DOCUMENT,
  108.        "COMMERCIAL USE" IS DEFINED  AS  OPERATION OF THIS SOFTWARE  ON
  109.        SYSTEMS CONSISTING OF THREE OR MORE COMPUTERS OR DATA LINES; OR
  110.        OPERATION OF THIS SOFTWARE ON SYSTEMS SPONSORED OR SUPPORTED IN
  111.        ANY WAY BY COMMERCIAL COMPANIES OR ORGANISATIONS.
  112.  
  113.     6. DISCLAIMER.  USE THIS PROGRAM AT YOUR OWN RISK.  NO WARRANTY IS
  114.        STATED OR IMPLIED. THE AUTHOR  SHALL  NOT BE  HELD  RESPONSIBLE
  115.        FOR ANY DAMAGES RESULTING FROM IT'S USE DIRECTLY OR INDIRECTLY.
  116.  
  117.  
  118.  
  119.                                       I
  120.  
  121.  
  122.  
  123.                          ACKNOWLEDGMENTS AND CREDITS
  124.  
  125.  
  126.  
  127.  
  128.        We would  like to thank  the  following  individuals for  their
  129.        continued support and assistance.
  130.  
  131.        Graham Stair kindly offered to port UEDit to the OS/2 operating
  132.        system back in Dec 91. Without his efforts we'd likely not have
  133.        been able to provide OS/2 support at this time. Graham has also
  134.        helped with improvements to the code,  both at  problem  or bug
  135.        report levels and at the feature addition level. Thanks Graham.
  136.  
  137.        Special thanks go to the beta testers who provided both problem
  138.        reports and feature requests. This includes the Australian beta
  139.        test  network,  including Paul Marwick,  David Nugent,  Lincoln
  140.        Dale,  and Andrew Gulovsen;  and the International Maximus Beta
  141.        team, of which the Author is a member.
  142.  
  143.        Thanks to Scott Dudley  for  his  ever  timely  responses,  the
  144.        Maximus  User  Structures,  and  for  continuing to develop the
  145.        Maximus-CBCS bulletin board package.   Scott  shows no apparent
  146.        signs of easing up on  development, such that there is  much to
  147.        look forward to with Maximus-CBCS in this 'electronic' frontier
  148.        of the  emerging 'information' age.
  149.  
  150.        Thanks also to  those  who  aided  in  development  of  earlier
  151.        versions  of UEDit.  These include Andrew Waite, who originally
  152.        suggested a stand alone User editor and worked on the  original
  153.        documentation;   Stewart   Robertson  who  kindly  updated  the
  154.        documentation with the updates and changes for v1.02; and  Paul
  155.        Marwick  for  both extensive testing on early beta versions and
  156.        many useful suggestions, many of which have been implemented.
  157.  
  158.  
  159.  
  160.        The following companies hold the following trademarks or market
  161.        the following products mentioned or referred to in this manual.
  162.  
  163.        IBM Corporation, Inc.                                OS/2
  164.        IBM Corporation, Inc.                                IBM PC
  165.        Microsoft Corporation, Bellevue, WA                  MS-DOS
  166.        Quarterdeck Office Systems, Santa Monica, CA         DesqView
  167.        SoftLogic Solutions, Inc., Manchester, NH            Double Dos
  168.        Borland International, Scotts Valley, CA             Turbo C
  169.        Borland International, Scotts Valley, CA             Borland C++
  170.        SemWare                                              Qedit
  171.        Omniverse Software Corp.                             Galaxy
  172.        Scott Dudley                                         Maximus
  173.        Scott Dudley                                         Squish
  174.        Scott Dudley                                         SquishMail
  175.        Scott Dudley                                         MsgAPI
  176.        Wynn Wagner                                          Opus
  177.  
  178.  
  179.                                       II
  180.  
  181.  
  182.  
  183.                               TABLE OF CONTENTS
  184.  
  185.  
  186.  
  187.  
  188.         SECTION                 TITLE                           PAGE
  189.  
  190.                            LICENSE AGREEMENT                       I
  191.         1                       Distribution   ................... I
  192.         2                       Copying   ........................ I
  193.         3                       Modification   ................... I
  194.         4                       Program Status   ................. I
  195.         5                       Commercial Definition   .......... I
  196.         6                       Disclaimer   ..................... I
  197.  
  198.                            ACKNOWLEDGMENTS AND CREDITS            II
  199.                            TABLE OF CONTENTS                     III
  200.                            TABLE OF CONTENTS                      IV
  201.  
  202.         1                  CHAPTER 1 -- INTRODUCTION   ........... 1
  203.         1.1                     Requirements   ................... 1
  204.         1.2                     Features   ....................... 1
  205.         1.3                     Distribution Notice   ............ 2
  206.  
  207.         2                  CHAPTER 2 -- CONFIGURATION   .......... 3
  208.         2.1                     Command Line   ................... 3
  209.         2.2                     Configuration file   ............. 5
  210.         2.2.1                     UpGrade Profile   .............. 5
  211.         2.2.2                     Access Labels   ................ 5
  212.         2.2.3                     Key Labels   ................... 5
  213.         2.2.4                     Language Labels   .............. 5
  214.         2.2.5                     File Compression Labels   ...... 5
  215.         2.2.6                     Mouse Speed   .................. 6
  216.         2.2.7                     Date Format   .................. 6
  217.         2.2.8                     Sound Toggle   ................. 6
  218.         2.2.9                     Password Hide Toggle   ......... 6
  219.         2.2.10                    Pack Save Toggle   ............. 6
  220.         2.2.11                    Custom Renumber Toggle   ....... 6
  221.         2.2.12                    Descriptions Display Toggle   .. 6
  222.         2.2.13                    Global Delete by Days   ........ 6
  223.  
  224.         3                  CHAPTER 3 -- OPERATION   .............. 7
  225.         3.1                     Record Addition   ................ 7
  226.         3.2                     Base Packing   ................... 7
  227.         3.3                     Statistics   ..................... 8
  228.         3.4                     Global Delete   .................. 8
  229.         3.4.1                     Set Days Old   ................. 9
  230.         3.4.2                     Calls   ........................ 9
  231.         3.4.3                     Key Mask   ..................... 9
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.                                      III
  240.  
  241.  
  242.  
  243.                         TABLE OF CONTENTS (CONTINUED)
  244.  
  245.  
  246.  
  247.  
  248.         SECTION                 TITLE                           PAGE
  249.  
  250.         3.4.4                     Privilege Levels   ............. 9
  251.         3.4.5                     Expiry Mask   .................. 9
  252.         3.4.6                     Credit Mask   ................. 10
  253.         3.5                     User Base Sort   ................ 10
  254.         3.5.1                     Multiple Keys   ............... 10
  255.         3.5.2                     Sort methods   ................ 11
  256.         3.6                     Field Edit Keys   ............... 11
  257.         3.7                     Program Hot Keys   .............. 12
  258.         3.7.1                    Edit Screen   .................. 12
  259.         3.7.2                    Browse Screen   ................ 12
  260.  
  261.         4                  CHAPTER 4 -- RECORD DESCRIPTIONS  .... 13
  262.         4.1                     Display and Editing   ........... 13
  263.         4.2                     Indication   .................... 13
  264.         4.3                     Deletion   ...................... 13
  265.         4.4                     Technical   ..................... 14
  266.         4.5                     EXTPack   ....................... 14
  267.         4.5.1                     Operation   ................... 14
  268.         4.5.2                     Exporting   ................... 14
  269.         4.5.3                     Importing   ................... 14
  270.         4.6                     EXTAdd   ........................ 15
  271.         4.6.1                     Execution   ................... 15
  272.         4.6.2                     Imported Data   ............... 15
  273.  
  274.         5                  CHAPTER 5 -- BATCH MODE  ............. 17
  275.         5.1                     Operation   ......................17
  276.         5.1.1                   Features   ...................... 17
  277.         5.1.2                   Deletion   ...................... 17
  278.         5.1.3                   Sorting   ....................... 18
  279.         5.1.4                   Deletion Logging   .............. 18
  280.  
  281.         6                  CHAPTER 6 -- MISCELLANEOUS  .......... 19
  282.         6.1                     Problems and Bug Reports   ...... 19
  283.         6.2                     Latest Version   ................ 19
  284.         6.3                     About UEDit   ................... 19
  285.  
  286.  
  287.                   APPENDIX A -- Configuration File Structure   .. 21
  288.                   APPENDIX B -- Description File Structure   .... 23
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.                                       IV
  300.  
  301.  
  302.  
  303.       INTRODUCTION                  UEDit                        Page 1
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.                                   CHAPTER 1
  312.  
  313.                                  INTRODUCTION
  314.  
  315.        UEDit  is  an  external Maximus-CBCS User Base Editor, allowing
  316.        rapid editing, searching and  sorting  of  your  user  records.
  317.  
  318.        Although  the  Maximus  inbuilt  User  Editor is full featured,
  319.        UEDit allows quick and simple access  to the User  base.  It is
  320.        able to fully use system resources  without  the code and space
  321.        limitations under which a remote editor usually must operate.
  322.  
  323.  
  324.       1.1  Requirements
  325.  
  326.        MS-DOS 3.x, its equivalent, or later version is required for
  327.        DOS operation. Operation under OS/2 requires OS/2 version 1.3
  328.        or later.
  329.  
  330.        300Kb of free RAM is recommended. Less is possible depending on
  331.        the number of records in the user base. More  may  be  required
  332.        and sorting and packing will require more depending on the size
  333.        of your user base. The author runs UEDit in a 300Kb DESQview
  334.        window with approximately 500 records in  the user base.
  335.  
  336.  
  337.        1.2  Features
  338.  
  339.          *  Pop-up Menu system and full screen operation.
  340.          *  Full support for Maximus-CBCS v2.xx, and 8192 user
  341.             records.
  342.          *  Optional text description or comment for every user
  343.             record using the new to Maximus-CBCS v2.xx format.
  344.          *  Browse screen allows paging through the User Base.
  345.          *  User Base sorting with ten key choices in two directions.
  346.          *  User Base search with five key choices including
  347.             Name/Alias.
  348.          *  Instant User upgrade system, with eight configuration
  349.             profiles.
  350.          *  Global functions allowing; record deletion, and setting of
  351.             the Expiry system, Keys, and the Credit and Debit fields.
  352.          *  Automated user base global sort and pack batch mode
  353.             allowing batch file periodic maintenance.
  354.          *  Six user base statistics report screens.
  355.          *  Optional text descriptions of access levels, keys, and
  356.             language, and file compression record fields.
  357.          *  Available for OS/2, and DOS with DesqView support.
  358.          *  MicroSoft mouse keyboard emulation support with
  359.             sensitivity adjustment under MS-DOS.
  360.  
  361.  
  362.  
  363.       INTRODUCTION                  UEDit                        Page 2
  364.  
  365.  
  366.  
  367.  
  368.        1.3  Distribution Notice
  369.  
  370.        This package may be posted for download or file request by  any
  371.        Fidonet technology system in archived form, and in adherence to
  372.        the terms of the software License.  No profit  may be  realised
  373.        from  such  distribution,  although  UEDit  may be provided for
  374.        download on commercial or pay for access systems.
  375.  
  376.        UEDit is distributed in two versions,  for  the MS-DOS and OS/2
  377.        operating systems.  The archive names are UED201.LZH for MS-DOS
  378.        and UEDP201.LZH for OS/2.
  379.  
  380.        The MS-DOS distribution archive contents (UED201.LZH) are
  381.        listed below:
  382.  
  383.                UEDIT.EXE     -  The program executable.
  384.  
  385.                EXTPACK.EXE   -  Record descriptions maintenance utility
  386.  
  387.                EXTADD.EXE    -  Record descriptions online utility
  388.  
  389.                EXPRPT.EXE    -  Simple Expiry system report generator
  390.  
  391.                UEDIT.DOC     -  Main documentation
  392.  
  393.                WHATSNEW.201  -  Changed since UEDit version 2.00
  394.  
  395.                REGISTER.FRM  -  Commercial registration form
  396.  
  397.  
  398.        The OS/2 distribution archive contents (UEDP201.LZH) are
  399.        listed below:
  400.  
  401.                UEDITP.EXE    -  The program executable.
  402.  
  403.                EXTPACKP.EXE  -  Record descriptions maintenance utility
  404.  
  405.                EXTADDP.EXE   -  Record descriptions online utility
  406.  
  407.                EXPRPTP.EXE   -  Simple Expiry system report generator
  408.  
  409.                UEDIT.DOC     -  Main documentation
  410.  
  411.                WHATSNEW.201  -  Changed since UEDit version 2.00
  412.  
  413.                REGISTER.FRM  -  Commercial registration form
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.       CONFIGURATION                 UEDit                        Page 3
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.                                   CHAPTER 2
  431.  
  432.                                 CONFIGURATION
  433.  
  434.  
  435.        2.1  Command Line
  436.  
  437.        Program  syntax:  UEDit  [-switch -switch ... ]
  438.        All command line switches are case insensitive.
  439.  
  440.        Listed below are the command line controls:
  441.  
  442.          -U<path>  Path to Maximus User files & Area.Dat
  443.          -C<path>  Configuration file path & name
  444.          -B        BIOS screen writing
  445.          -R        CGA snow reduction
  446.          -M        Force monochrome text attributes
  447.          -N        Don't display background screen
  448.          -V        Use Browse screen as default
  449.          -F<name>  User file name; default is USER.BBS
  450.          -P        Automatic Purge for batch files
  451.          -S#[R]    Automatic Sort method for -P
  452.          -L<path>  Optional log file name for -P
  453.          -D        Debug display of the lastread pointer
  454.          -A        Alternate colours for menu systems
  455.          -G###     Start at ### record, zero based
  456.          -I        Never set system mouse sensitivity
  457.          -?        Program help screen
  458.  
  459.  
  460.  
  461.        Let's have a look at each one in a little more detail:
  462.  
  463.          -U<path>  Full path to Maximus-CBCS User  files.  Default  is
  464.                    the current directory. e.g. -UC:\Max
  465.  
  466.          -C<path>  UEDit Configuration file path and name. This switch
  467.                    allows operating with multiple configurations,
  468.                    especially useful with the  -P batch mode operation.
  469.  
  470.          -B        BIOS screen writing.
  471.  
  472.          -R        CGA snow reduction.
  473.  
  474.          -M        Force monochrome text attributes.
  475.  
  476.          -N        Turns the background display screen off.
  477.  
  478.          -V        Use Browse screen at power up.  Default is the Edit
  479.                    screen.
  480.  
  481.  
  482.       CONFIGURATION                 UEDit                        Page 4
  483.  
  484.  
  485.  
  486.  
  487.          -F<name>  User file file name.  Default  is  USER.BBS.  This
  488.                    option is not normally required.  It  specifically
  489.                    allows easy  UEDit operation  on  systems  running
  490.                    multiple user files.
  491.  
  492.          -P        Automatic Pack for automated batch file  operation.
  493.                    This  command tells UEDit to run the global delete,
  494.                    and user base pack options, then exit  to  the  DOS
  495.                    prompt.  Options  include  the  -S  and -L commands
  496.                    below, and global delete settings  as  set  on  the
  497.                    Global  delete  screen  and  saved  with  the  save
  498.                    settings command.
  499.  
  500.          -S#[R]    Specifies a sort type and direction  for  use  with
  501.                    the -P batch mode command.
  502.                    e.g. -S2    - Sort by Second name, ascending.
  503.                         -S7R   - Sort by Access, descending.
  504.  
  505.                    For the sort types, see section 4.5.2 (Sort methods).
  506.  
  507.          -L<path>  Specifies  an optional log file name for logging of
  508.                    records  deleted  by  the  global  delete  function
  509.                    during a batch mode -P run.  e.g. -LC:\Log\Pack.Log
  510.  
  511.          -D        Optional debug display of lastread pointer on the
  512.                    Edit screen with the descriptions window in view.
  513.                    This also activates editing of the Lastread pointer,
  514.                    and sorting by Lastread pointer. WARNING: Changing
  515.                    the Lastread Pointers will cause problems unless
  516.                    you know exactly what you are doing.
  517.  
  518.          -A        Alternate colour for the Edit, Browse, and Pop-up
  519.                    menu systems.
  520.  
  521.          -G###     Start operation at user record number ###.
  522.                    If the number specified is greater then available
  523.                    records, UEDit seeks to the last record. Thus
  524.                    "UEDit /g9999" would provide a goto last record
  525.                    function.
  526.  
  527.          -I        Never set system mouse sensitivity.  Problems are
  528.                    possible with some mouse drivers, IMOUSE.COM for one.
  529.                    UEDit sets the mouse sensitivity at powerup when
  530.                    running from a configuration file. Thanks to Brian
  531.                    Hampson for his help in tracking this down.
  532.  
  533.          -?        Program help screen.
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.       CONFIGURATION                 UEDit                        Page 5
  543.  
  544.  
  545.  
  546.  
  547.        2.2  Configuration File
  548.  
  549.        UEDit can optionally create and reload  a  configuration  file.
  550.        The  default  file  name  is UEDit.Cfg, see the -C command line
  551.        switch for details of  running  multiple  configuration  files.
  552.  
  553.        Currently  the  following  items can be saved and reloaded from
  554.        the  UEDit  configuration  file:  Access  Labels,  Key  Labels,
  555.        Language  Labels,  File  Compression Labels,  Global  Deletions
  556.        settings, Global Expiry settings,  Global Key settings,  Global
  557.        Credit/Debit settings,  Upgrade Profile settings,  Mouse Speed,
  558.        Date Format,  Sound toggle,  Password  Hide toggle,  Pack  Save
  559.        toggle, Custom Renumber toggle, &  Descriptions Display toggle.
  560.  
  561.        The configuration file is binary format, so cannot normally  be
  562.        accessed externally. See appendix A for C language structure of
  563.        this file. Running the Configuration menu  Save Setups  command
  564.        writes the configuration file so that UEDit will load all saved
  565.        settings  for  future  program runs.  UEDit  attempts  to  note
  566.        changes made  and  will  prompt for  configuration save  during
  567.        program exit if you've made changes.
  568.  
  569.        2.2.1  UpGrade Profile
  570.        This configuration screen allows editing of eight user profiles
  571.        for use by the Upgrade command on the Edit screen.  The Upgrade
  572.        command allows instant setting of  Priviledge,  Credit, Expiry,
  573.        and Keys for the current user record.
  574.  
  575.        2.2.2  Access Labels
  576.        These  are  local  to  UEDit  text  descriptions of each of the
  577.        Maximus privilege levels. Purely for local SysOp operation.
  578.  
  579.        2.2.3  Key Labels
  580.        These are local to UEDit  text  descriptions  of  each  of  the
  581.        Maximus user Keys. Purely for local SysOp operation.
  582.  
  583.        2.2.4  Language Labels
  584.        These  are  local  to  UEDit  text  descriptions of each of the
  585.        Maximus eight supported optional languages.  Purely  for  local
  586.        SysOp  operation.   Due  to  file  name and pathing differences
  587.        between systems UEDit does not attempt to find  what  languages
  588.        are  installed  on your system.  Set these labels to match your
  589.        Maximus setup.
  590.  
  591.        2.2.5  File Compression Labels
  592.        These are local to UEDit text descriptions of up to fifteen  of
  593.        the Maximus file compression utilities.  Purely for local SysOp
  594.        operation.   Due  to  file name and pathing differences between
  595.        systems UEDit does not  attempt  to  find  which archivers  are
  596.        installed  on  your  system.  Match these labels to your setup.
  597.  
  598.  
  599.  
  600.  
  601.  
  602.       CONFIGURATION                 UEDit                        Page 6
  603.  
  604.  
  605.  
  606.  
  607.        2.2.6  Mouse Speed
  608.        Allows adjustment of the MicroSoft compatible mouse sensitivity
  609.        settings.  If a configuration file is loaded at UEDit power  up
  610.        the saved settings are set on the system.  See  also  the  "-I"
  611.        command line switch.
  612.  
  613.        2.2.7  Date Format
  614.        Allows  selection  of the preferred  date display  format. Using
  615.        the  Save Settings  command on the  Configuration menu saves the
  616.        selected display format in the configuration file.
  617.  
  618.        2.2.8  Sound Toggle
  619.        This toggles sound usage on and off.
  620.  
  621.        2.2.9  Password Hide Toggle
  622.        This  toggles  the  Edit screen password hide feature.  A quick
  623.        access command 'W' also toggles this flag from the Edit screen.
  624.  
  625.        2.2.10 Pack Save Toggle
  626.        This turns on  the  optional  user  base  Pack  command's  save
  627.        deleted  records  to  disk  function.   When turned on, records
  628.        purged from the user file are written to a file in the  Maximus
  629.        directory called USER.PRG.
  630.  
  631.        2.2.11 Custom Renumber Toggle
  632.        The  UEDit Pack command can also optionally renumber Opus style
  633.        #.BBS custom welcome files.  These  files  must  exist  in  the
  634.        Maximus  directory.   See  the  Maximus-CBCS  documentation for
  635.        details.  Use this toggle to activate or disable  the  renumber
  636.        function.
  637.  
  638.        2.2.12 Descriptions Display Toggle
  639.        This  toggles  the  Edit  screen User description display.  The
  640.        shortcut command from the Edit screen is the TAB key.
  641.  
  642.        2.2.13 Global Delete by Days
  643.        All settings from the global delete screen are  also  saved  in
  644.        the  configuration  file.  To save your global settings use the
  645.        Save Settings configuration menu option before  exiting  UEDit.
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.       OPERATION                     UEDit                        Page 7
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.                                   CHAPTER 3
  671.  
  672.                                   OPERATION
  673.  
  674.        The  use  of  hotkeys,  full  screen  menus,  and  simple  user
  675.        interface means that UEDit puts the power to manage  your  user
  676.        base at your finger tips. All functions are controlled directly
  677.        from  easily accessible menu options.  UEDit is rich in control
  678.        keys, see both the field editing, and program hot  keys  listed
  679.        in  section  3.7. Features to look for are the TAB descriptions
  680.        toggle on the Edit screen,  and  the  TAB  and  Shift  TAB  PAN
  681.        commands on the Browse screen.
  682.  
  683.  
  684.  
  685.  
  686.        3.1  Record Addition
  687.  
  688.        The  Append New Record pop-up menu option adds a new blank user
  689.        record to the user file.  The new record is appended to the end
  690.        of the file. UEDit makes the new record the current record, and
  691.        adjusts the screen to display it. The string "Record created by
  692.        UEDit" is entered in the name field to  aid  identification  of
  693.        newly  added records.  During the record addition process UEDit
  694.        assigns the new  record  an  unused  message  lastread  pointer
  695.        offset.  UEDit uses the Maximus-CBCS method where the user base
  696.        is scanned and the first unused offset is used.  This fills the
  697.        holes  left by routine record purging where offsets vanish from
  698.        the user file, aiding to avoid unnecessary growth  in  size  of
  699.        the  message  areas  lastread files.  UEDit needs only scan the
  700.        user base once to load the offsets, later additions  will  seem
  701.        instantaneous.   During  Index  scans  UEDit  also  loads these
  702.        offsets, so that a record addition  performed  after  an  Index
  703.        will not need to scan the base.
  704.  
  705.  
  706.  
  707.  
  708.        3.2  Base Packing
  709.  
  710.        The  Pack  User File pop-up menu option rewrites the User file,
  711.        deleting all records marked with the Deleted flag.   It  writes
  712.        the  new  User file using the last Index method, giving you the
  713.        option of sorting the on disk user base.
  714.  
  715.        The pack option is generally used to remove old deleted records
  716.        from the user base.  Also as mentioned above, it  writes  using
  717.        indexed  order,  so this option is used to sort your user base,
  718.        in conjunction with the Index command.
  719.  
  720.  
  721.  
  722.       OPERATION                     UEDit                        Page 8
  723.  
  724.  
  725.  
  726.  
  727.        When records are removed from the user base there  are  several
  728.        related  items that should be taken care of.  These are message
  729.        lastread pointer cleansing, optional  Opus style  #.BBS  custom
  730.        welcome  screen  renumbering,  and  optional  record  save to a
  731.        backup file.  See the UEDit setup for flags that either turn on
  732.        or off  the  welcome  file  renumbering  and  the  record  save
  733.        feature.   The message lastread clensing is required and cannot
  734.        be disabled.  For  message  lastread  pointer  clensing,  UEDit
  735.        attempts to read the file AREA.DAT in the Maximus directory. If
  736.        this is successful, UEDit then scans the file for message areas
  737.        and zeros out the lastread pointer for each area.
  738.  
  739.  
  740.  
  741.  
  742.        3.3  Statistics
  743.  
  744.        Included  on  the pop-up menu are six statistics screens, and a
  745.        current memory available function under MS-DOS.  UEDit does not
  746.        scan the user base during power up so that base must be scanned
  747.        to gather the needed statistics  for display  during the  first
  748.        execution of any of the statistics screens.
  749.  
  750.        Most of the statistics screens are self explanatory,  with  the
  751.        exception  of the Best Ten Users screen.  This  is  a  weighted
  752.        display,  sorted by the index  figure displayed  in  the  right
  753.        hand  column.  The  index figure is calculated from all of user
  754.        calls  to  the  system,   the  total  uploads,  and  the  total
  755.        downloads.
  756.  
  757.  
  758.  
  759.  
  760.        3.4  Global Delete
  761.  
  762.        The function of this screen is to either set  the  delete  flag
  763.        depending  on  the  set criteria, or to clear all delete flags,
  764.        during scanning of the complete user  base.   Records  are  not
  765.        removed. Assuming the record deleted flags are set as you would
  766.        choose  after a global delete run, the Pack command can then be
  767.        used to remove or move deleted records from the user base. Note
  768.        that all settings on the Global Delete screen are saved in  the
  769.        UEDit configuration file with the Save Settings command.
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.       OPERATION                     UEDit                        Page 9
  783.  
  784.  
  785.  
  786.        There  are  six  setting  types  that control how UEDit decides
  787.        whether a record should be deleted.  These are; days since last
  788.        call, total calls made, keys to block deletion, privilege level
  789.        to process,  a flag  for  not  deleting  records with an expiry
  790.        setting,  and a  flag  for  not  deleting records  containing a
  791.        Credit value.  These six control types are detailed below.
  792.  
  793.        3.4.1  Days
  794.        These setting are the heart of the Global Delete screen. A days
  795.        old figure can be set for each of the twelve privilege  levels.
  796.        All  entries default to 180 days, which is approx.  six months.
  797.        As an example, if you have a  figure  of  180  for  the  Normal
  798.        privilege  level, then all records of Normal privilege can only
  799.        be marked as deleted if their last call date  is  earlier  than
  800.        180 days from the current system date. See also the Calls entry
  801.        below.
  802.  
  803.        3.4.2  Calls
  804.        The  Calls  entries are also considered when a priviledge level
  805.        is flagged for processing,  such that the  Days since last call
  806.        entry is checked.  To enable the record to be deleted,  as well
  807.        as passing the Days check detailed above,  the record much have
  808.        make less calls to the system than the entered Calls value.  To
  809.        avoid a lockout problem,  where after  enough calls  have  been
  810.        made  the record would not be deleted  no matter how long since
  811.        the last call,  there is also an "All Levels" Days setting with
  812.        no Calls entry,  used as a last check for each priviledge level
  813.        flagged for processing.  Note that the  "All Levels" setting is
  814.        ONLY applied to priviledge levels flagged for processing.
  815.  
  816.        3.4.3  Key Mask
  817.        This  enables you to prevent deletion of records possessing one
  818.        or any combination of  user  keys.   If  you  don't  want  keys
  819.        considered  during the Global Delete, set all key flags to YES,
  820.        meaning don't prevent deletion for any key.
  821.  
  822.        3.4.4  Privilege Levels
  823.        With this option, you can mask out whole privilege levels  from
  824.        the  Global  Delete process.  Any level set to NO will never be
  825.        marked as deleted.  Normally you'd have the higher levels  e.g.
  826.        Sysop,  AsstSysop, and Clerk masked out on the assumption these
  827.        levels should never be removed during global maintenance.
  828.  
  829.        3.4.5  Expiry Mask
  830.        The expiry mask flag, when set  to  NO,  prevents  all  records
  831.        which  have an Expiry setting other than None from being marked
  832.        as deleted.  Useful for systems actively using the Maximus-CBCS
  833.        account expiry subsystem. The assumption is that if the account
  834.        already has an automatic expiry setting active, global deletion
  835.        by date would not be necessary nor desirable.  To ignore Expiry
  836.        settings during Global Deletion runs, set this flag to YES.
  837.  
  838.  
  839.  
  840.  
  841.  
  842.       OPERATION                     UEDit                        Page 10
  843.  
  844.  
  845.  
  846.  
  847.        3.4.6  Credit Mask
  848.        The credit mask flag, when set  to  NO,  prevents  all  records
  849.        which  have a Credit setting other than zero  from being marked
  850.        as deleted.  To ignore  Credit  settings during Global Deletion
  851.        runs, set this flag to YES.
  852.  
  853.  
  854.  
  855.  
  856.        3.5  User Base Sort
  857.  
  858.        UEDit supports ten sort methods, including  the  default  index
  859.        which  is user file order.  Sort direction for each type can be
  860.        either Normal (ascending), or  Reverse  (descending).   Maximus
  861.        requires  that  the Sysop user record always be first record in
  862.        the user file.  For this reason UEDit never moves or sorts  the
  863.        first record.
  864.  
  865.        Sorting  is  accessed  by  the Index menu option off the pop-up
  866.        menu.  To choose a sort direction, simply hit <Enter> with  the
  867.        menu  bar  on  the Normal/Reverse item.  To sort the user base,
  868.        choose the sort type with the menu bar, and press <Enter>.
  869.  
  870.        UEDit references all on disk data via an in memory index.  This
  871.        index  is  set  to  file  order at program start up.  Using the
  872.        indexing or sorting commands is simply sorting  the  in  memory
  873.        index.  This has several implications.  Firstly, using the sort
  874.        commands on the Index menu does NOT affect the user file on the
  875.        system disk drive. To save a sort order permanently, you should
  876.        execute  the Pack command, which rewrites the user file to disk
  877.        using the current sort index.  Secondly,  depending  on  system
  878.        response  time  (speed) some of the UEDit functions will run at
  879.        reduced speed when operating with other  than  the  File  Order
  880.        index.   The  Browse  screen is one such case.  On the Author's
  881.        33mhz 386 with 17ms ESDI HD's the speed  is  quite  acceptable.
  882.        However  testing  shows  increased  delay  times  even  on  286
  883.        machines. The problem is caused by the new program design, with
  884.        all user records always referenced off disk. This was necessary
  885.        to enable support for very large user bases.
  886.  
  887.  
  888.  
  889.  
  890.        3.5.1  Multiple Keys
  891.  
  892.        Multiple key sorting is  supported,  by  executing  consecutive
  893.        sorts.    UEDit  does  maintain  existing  index  order  during
  894.        non-unique key indexing, making this possible.  As an  example,
  895.        to  sort the user base by privilege level, using last name as a
  896.        secondary key (meaning each privilege level would have  records
  897.        in  second  name  order),  firstly sort by second name, then by
  898.        privilege.  The privilege sort will maintain the existing order
  899.        for all privileges of the same value.
  900.  
  901.  
  902.       OPERATION                     UEDit                        Page 11
  903.  
  904.  
  905.  
  906.  
  907.        3.5.2  Sort methods
  908.  
  909.                1  File Order  - Current User File order (the default)
  910.                2  2st Name    - Last name
  911.                3  1nd Name    - First name
  912.                4  Location    - City field
  913.                5  Password    - Password
  914.                6  Call Date   - Date field
  915.                7  Privilege   - User Privilege Level
  916.                8  No of Calls - Calls made to the system
  917.                9  Kb DownLoad - Total users downloads
  918.                10 Kb UpLoads  - Total users uploads
  919.                11 Telephone   - Telephone
  920.  
  921.  
  922.        3.6  Field Edit Keys
  923.  
  924.        General command keys which are active during field editing  and
  925.        data entry are listed below.  Several of these key commands are
  926.        not noted clearly within the program.
  927.  
  928.            ESC           - Abort field editing, exit
  929.            END           - Goto end of current field
  930.            HOME          - Goto start of current field
  931.            UP ARROW      - Step up one edit field
  932.            DOWN ARROW    - Step down one edit field
  933.            TAB           - Step one field right
  934.            Shift TAB     - Step one field left
  935.            DEL           - Delete character at cursor
  936.            BACKSPACE     - Delete character left
  937.            Ctl BACKSPACE - Delete word left
  938.            Ctrl R        - Restore field to original contents
  939.            Ctrl T        - Delete word right
  940.            Ctrl U        - Delete to end of field
  941.            Ctrl Y        - Delete to end of last field
  942.            Ctrl-<Enter>  - Save and exit field editing
  943.            INS           - Toggle insert mode
  944.  
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961.  
  962.       OPERATION                     UEDit                        Page 12
  963.  
  964.  
  965.  
  966.  
  967.        3.7  Program Hot Keys
  968.  
  969.        Several  command  functions can be executed by hotkey, giving a
  970.        quick 'shortcut' access to the function. These exist in various
  971.        places including the Edit screen and the Browse screen.
  972.  
  973.        3.7.1  Edit Screen
  974.  
  975.            W                - Toggle Password hide
  976.            X                - Record expiry edit screen
  977.            K                - Record keys edit screen
  978.            Alt-1 to Alt-X   - Key toggle
  979.            <                - Privilege level downgrade
  980.            >                - Privilege level upgrade
  981.            DEL              - Toggle record deleted flag
  982.            TAB              - Description display toggle
  983.            HOME             - Goto first record
  984.            END              - Goto last record
  985.            UP ARROW         - Step back one record
  986.            DOWN ARROW       - Step forward one record
  987.            Grey +           - Steps forward one record
  988.            Grey -           - Step back one record
  989.            ESC              - Pop-up menu
  990.  
  991.        3.7.2  Browse Screen
  992.  
  993.            <                - Privilege level downgrade
  994.            >                - Privilege level upgrade
  995.            DEL              - Toggle record deleted flag
  996.            TAB              - PAN screen right
  997.            Shift TAB        - PAN screen left
  998.            HOME             - Goto first record
  999.            END              - Goto last record
  1000.            PAGE UP          - Step back 15 records
  1001.            PAGE DOWN        - Step forward 15 records
  1002.            UP ARROW         - Step back one record
  1003.            DOWN ARROW       - Step forward one record
  1004.            ESC              - Pop-up menu
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.       RECORD DESCRIPTIONS           UEDit                        Page 13
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.                                   CHAPTER 4
  1031.  
  1032.                              RECORD DESCRIPTIONS
  1033.  
  1034.  
  1035.        UEDit  now  supports  the  Maximus-CBCS  v2.xx  external record
  1036.        description system. This allows optional text comments for each
  1037.        user record. The design  allows  for  up  to  4095  characters,
  1038.        though  for  screen  space  reasons UEDit currently limits it's
  1039.        creation and editing to 165 characters, which is 3 short lines.
  1040.  
  1041.  
  1042.        4.1  Display and Editing
  1043.  
  1044.        Descriptions are displayed and edited from the Edit  screen.  A
  1045.        Descriptions flag exists on the Setup menu to toggle display on
  1046.        or  off, with the TAB key being a quick shortcut hotkey for the
  1047.        same function. The Descriptions window  overlays  some  of  the
  1048.        fields  on the Edit screen, TAB quickly toggles between the two
  1049.        alternate  displays.  This  display  flag  is  saved   in   the
  1050.        configuration file so that UEDit will default to your preferred
  1051.        display.  With  the  descriptions  window toggled on, using the
  1052.        Edit command allows editing or creation of the description  for
  1053.        the   current  record.  When  toggled  off  normal  editing  is
  1054.        possible.
  1055.  
  1056.  
  1057.        4.2  Indication
  1058.  
  1059.        On the Edit screen, a new three character field to the right of
  1060.        the City field shows blank for no description,  and  'EXT'  for
  1061.        records  possessing  an  extended  description.  For the Browse
  1062.        screen, existence of an extended description is indicated by  a
  1063.        small  bullet  character  on the right hand edge of the screen.
  1064.        Note that these two indicators are displaying the status of the
  1065.        USER.BBS descriptions pointer. The descriptions text is  stored
  1066.        in  a  file  called  USER.EXT in the Maximus directory. If this
  1067.        file had been deleted UEDit  will  not  find  the  description,
  1068.        displaying a blank description field. To clear the descriptions
  1069.        pointer  in  this  case,  as  with  description deletion below,
  1070.        simply save a blank description.
  1071.  
  1072.  
  1073.        4.3  Deletion
  1074.  
  1075.        External descriptions are deleted  by  simply  saving  a  blank
  1076.        description  field.  Toggle the description display on, use the
  1077.        Edit command, <Enter> down to the  descriptions  window,  press
  1078.        HOME (goto start of current field), press Ctrl-Y (erase current
  1079.        field), and press Ctrl-Enter (save and exit).
  1080.  
  1081.  
  1082.       RECORD DESCRIPTIONS           UEDit                        Page 14
  1083.  
  1084.  
  1085.  
  1086.  
  1087.        4.4  Technical
  1088.  
  1089.        UEDit  attempts  to  reuse  free space in the descriptions file
  1090.        when writing new descriptions or  updating  descriptions  to  a
  1091.        larger  size.  See  also  the  section  concerning  the EXTPack
  1092.        utility and the EXTAdd utility.
  1093.  
  1094.  
  1095.  
  1096.        4.5  EXTPack
  1097.  
  1098.        This utility performs a purge and pack on the USER.EXT external
  1099.        description file. This is not normally required, a  manual  run
  1100.        every few months would be suitable for most systems.
  1101.  
  1102.        4.5.1  Operation
  1103.        EXTPack  rewrites the USER.EXT file in the user base order, and
  1104.        removes unused space, adjusting the USER.BBS 'extra' fields  as
  1105.        required.  It  makes  no  other  change  to the main user base.
  1106.        Program command line options are listed below.
  1107.  
  1108.        Syntax:  EXTPack [-switch -switch ... ]
  1109.  
  1110.        -U<path>  Path to Maximus-CBCS User files
  1111.        -E        Export records to report file
  1112.        -I        Import records from report file
  1113.        -A        Ascii delimited format for Export/Import
  1114.        -F<name>  Export/Import file path & name
  1115.        -?        Program help screen
  1116.  
  1117.        EXTPack  is  also  capable  of  exporting  and  importing   the
  1118.        descriptions database, in both text format, and ascii delimited
  1119.        format.   This  is  to  enable   quick  and  simple  setup  and
  1120.        maintenance of the user descriptions system.
  1121.  
  1122.        4.5.2  Exporting
  1123.        Exporting is via the -E command line. e.g. "EXTPack  -E"  would
  1124.        export   all   user  descriptions  to  the  default  text  file
  1125.        EXTPACK.TXT. To use a defined filename, use the format -F<name>
  1126.        e.g. "EXTPack -E -Fc:\bbs\export.txt". The  optional -A command
  1127.        would cause the exported data to be in ascii delimited format.
  1128.  
  1129.        4.5.3  Importing
  1130.        Importing  is  via the -I command line. e.g. "EXTPack -I" would
  1131.        import from the default text file EXTPACK.TXT. To use a defined
  1132.        filename,   use   the   format    -F<name>    e.g.     "EXTPack
  1133.        -I -Fc:\bbs\import.txt".  The format of the import text file is
  1134.        exactly as generated by the -E Export command. Note that if the
  1135.        -A command format modifier was used during the export, it  must
  1136.        also be used during the Import. The Imported text file does NOT
  1137.        need to include all records as the export report does. Use your
  1138.        text  editor to edit descriptions, and  to remove all unchanged
  1139.        records before using the Import function.
  1140.  
  1141.  
  1142.       RECORD DESCRIPTIONS           UEDit                        Page 15
  1143.  
  1144.  
  1145.  
  1146.  
  1147.        4.6  EXTAdd
  1148.  
  1149.        EXTAdd  is  a  small  utility  for ONLINE use with the external
  1150.        record description  system.  It's  function  is  to  place  the
  1151.        current  system  date  into  a  new users description field, or
  1152.        optionally the contents of  an  external  text  file,  possibly
  1153.        written  with  Maximus mecca commands during the newuser logon.
  1154.        Following is the EXTAdd command line options.
  1155.  
  1156.                 Syntax:  EXTADD [-switch -switch ... ]
  1157.  
  1158.                 -U<path>  Path to Maximus-CBCS User files
  1159.                 -F<name>  Optional import file path & name
  1160.                 -N        Task number, default is zero
  1161.                 -R        User record number; zero based
  1162.                 -D        Date format mm/dd/yy; default: dd/mm/yy
  1163.                 -?        Program help screen
  1164.  
  1165.        4.6.1  Execution
  1166.        Execution should be from a mecca display file. Suggested  usage
  1167.        is  from  the  Maximus  control file's NewUser2 defined welcome
  1168.        screen. This is the welcome  screen  shown  once  only  to  new
  1169.        callers  on  the  system.  An  example  command  line for mecca
  1170.        display files is listed below.
  1171.  
  1172.        [xtern_run]@extadd.exe -n%k -r%u -uc:\bbs
  1173.  
  1174.        In the above example -n supplies the maximus  task  number,  -r
  1175.        supplies  the user record number zero based, and -u is the path
  1176.        to the Maximus user files. Both -n and  -r  ARE  required.  The
  1177.        Maximus path default is the current directory. During execution
  1178.        EXTAdd  enters  a line  such  as  the following  into  the user
  1179.        description field. Note the '@' character in the above  command
  1180.        line.  It  IS  required, see the Maximus documentation for more
  1181.        details.
  1182.  
  1183.        * Record Created: Thu Dec 05 02:27:35 1991
  1184.  
  1185.  
  1186.        4.6.2 Imported Data
  1187.        Addition of the -f<path> option  to  the  above  example  would
  1188.        write  the  contents  of  the file specified by <path> into the
  1189.        record description field rather than the EXTAdd generated  date
  1190.        string.  The  imported  file  could include other user specific
  1191.        data, baudrate as an example, using a little mecca magic before
  1192.        the EXTAdd execution command.
  1193.  
  1194.        EXTADD updates both the User.Bbs file, _and_ the lastuser file.
  1195.        The lastuser file update is necessary for use  online  so  that
  1196.        Maximus  can  be  told  to  reread  it,  so  that  the external
  1197.        description pointer in the user record  is  not  lost  at  user
  1198.        logoff  (Max  updates the user record at that time). Because of
  1199.        this lastuser updating EXTADD is suitable for online use ONLY.
  1200.  
  1201.  
  1202.       RECORD DESCRIPTIONS           UEDit                        Page 16
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211.  
  1212.  
  1213.  
  1214.  
  1215.  
  1216.  
  1217.  
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.       BATCH MODE                    UEDit                        Page 17
  1263.  
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.                                   CHAPTER 5
  1271.  
  1272.                                   BATCH MODE
  1273.  
  1274.  
  1275.        5.1  Operation
  1276.  
  1277.        UEDit is now able to  run  in  an  unattended  batch  mode  for
  1278.        automated  record deletion by date, sorting, and packing.  With
  1279.        the inbuilt functions already available  to  UEDit,  the  batch
  1280.        mode  processing  is  probably  the  most powerful yet seen for
  1281.        Maximus-CBCS.  Batch mode operation is  invoked  using  the  -P
  1282.        command line switch.
  1283.  
  1284.        It is IMPORTANT  to  realise that  batch mode makes  use of and
  1285.        requires several settings in the configuration file.  These are
  1286.        the Global Delete  screen settings,  the  #.BBS  custom welcome
  1287.        flag, and the pack save flag.
  1288.  
  1289.  
  1290.  
  1291.        5.1.1  Features
  1292.  
  1293.            1) Delete by date with privilege masking, key masking,
  1294.               expiry masking, credit masking, and unique days setting
  1295.               per privilege.
  1296.  
  1297.            2) Sorting by nine keys in forward or reverse direction.
  1298.  
  1299.            3) Logging records deleted by date.
  1300.  
  1301.            4) Opus #.BBS custom welcome screen renumbering.
  1302.  
  1303.            5) Exportation of purged records to a save file.
  1304.  
  1305.  
  1306.  
  1307.        5.1.2  Deletion
  1308.        The  Global  Delete  screen  settings are used during the batch
  1309.        process. To operate UEDit in this manner  you  should  use  the
  1310.        Global Delete screen  to set the  desired  delete criteria  and
  1311.        save  them  with  the   Configuration  Save  Settings  command.
  1312.        To avoid possible mishaps should you later change any  settings
  1313.        on the Global Delete screen it's recommended that you save your
  1314.        batch  mode  deletion  settings  to another configuration file.
  1315.        This is done  using the  -C  command line  option.  Firstly run
  1316.        UEDit using -C<name>  where <name> is the chosen  configuration
  1317.        file name, set and save your deletion settings, and exit.  Then
  1318.        for batch mode, use the  -C  and  -P  switches  together.  e.g.
  1319.        "UEDit -Cpack.cfg -P".
  1320.  
  1321.  
  1322.       BATCH MODE                    UEDit                        Page 18
  1323.  
  1324.  
  1325.  
  1326.  
  1327.        5.1.3  Sorting
  1328.        Sorting  is  also  possible during batch mode, using the -S#[R]
  1329.        switch. e.g. "UEDit -Cpack.cfg -P -S2" would  run  deletion  by
  1330.        date  and sort by lastname. The sort control numbers are listed
  1331.        below.
  1332.  
  1333.         1 - File Order  - Current User File order (the default)
  1334.         2 - 2st Name    - Last name
  1335.         3 - 1nd Name    - First name
  1336.         4 - Location    - City field
  1337.         5 - Password    - Password
  1338.         6 - Call Date   - Date field
  1339.         7 - Privilege   - User Privilege Level
  1340.         8 - No of Calls - Calls made to the system
  1341.         9 - Kb DownLoad - Total users downloads
  1342.        10 - Kb UpLoads  - Total users uploads
  1343.        11 - Telephone   - Telephone field
  1344.  
  1345.        Default sort direction is ascending, use  the  'R'  control  to
  1346.        force  an  descending  sort.   e.g.  "UEDit -Cpack.cfg -P -S7R"
  1347.        indicates  sort  by  privilege  level  in   descending   order.
  1348.        Currently  the batch mode sorting does not support multiple key
  1349.        sorting as is possible with UEDit in manual mode.
  1350.  
  1351.  
  1352.  
  1353.        5.1.4  Deletion Logging
  1354.        Logging of deleted records is also possible during  batch  mode
  1355.        operation. Note that this is not functional in manual mode. The
  1356.        -L<path>  command  line  switch  activates  this  function.  To
  1357.        clarify, records logged as deleted in the  specified  log  file
  1358.        are  ONLY  those  marked  deleted  during  the automatic Global
  1359.        Delete run. If records already had the delete  flag  ON  before
  1360.        batch mode was invoked they will be removed or moved during the
  1361.        run, though not logged in this case. e.g.  "UEDit -Cpack.cfg -P
  1362.        -S7R -Lc:\log\pack.log".
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.       MISCELLANEOUS                 UEDit                        Page 19
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.                                   CHAPTER 6
  1391.  
  1392.                                 MISCELLANEOUS
  1393.  
  1394.  
  1395.        6.1  Problems and Bug Reports
  1396.  
  1397.        If  you have come across any 'features' or have any suggestions
  1398.        on how to improve UEDit, you can contact us through the net  or
  1399.        via  surface mail, at the addresses listed below. All feed back
  1400.        good AND bad is welcomed. Much of what  has  changed  in  UEDit
  1401.        since the last release is due to feedback offered over the past
  1402.        years.
  1403.  
  1404.         Post:      CodeLand Australia
  1405.                    P.O.Box 351
  1406.                    Kalamunda W.A. 6076
  1407.                    AUSTRALIA
  1408.         Fidonet:   Perth's Library BBS, Fidonet (3:690/613.0)
  1409.                    Colin Wheat, SysOp.
  1410.         EchoMail:  The International Fidonet Maximus-CBCS support
  1411.                    conference MUFFIN. Maximus programming discussions
  1412.                    are best carried out using the International
  1413.                    Maximus-CBCS development Conference MAXDEV.
  1414.  
  1415.        OS/2  related  problems  should be  directed to Graham Stair at
  1416.        Fidonet 3:711/409. Graham will pass problems onto the Author if
  1417.        need be.
  1418.  
  1419.  
  1420.  
  1421.        6.2  Latest Version
  1422.  
  1423.        The magic name  UEDIT  will always offer the latest MS-DOS beta
  1424.        version available, and  UEDITP  will  always  offer the  latest
  1425.        OS/2  beta  version available,  on  both  the  author's  system
  1426.        (Fidonet 3:690/613) and on Graham's system (Fidonet 3:711/409).
  1427.        File requests are always welcome.  As with all  beta  software,
  1428.        usage is at your own risk. The latest release archive is always
  1429.        available under it's own name.
  1430.  
  1431.  
  1432.  
  1433.        6.3  About UEDit
  1434.  
  1435.        UEDit was written using the  Borland range of C compilers.  The
  1436.        current MS-DOS release is compiled using Borland C++ v2.0.  The
  1437.        OS/2 version is compiled using MSC v6.0.  Additional  Libraries
  1438.        used included the CXL window Library. Documentation was written
  1439.        using Qedit and Galaxy.
  1440.  
  1441.  
  1442.       MISCELLANEOUS                 UEDit                        Page 20
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473.  
  1474.  
  1475.  
  1476.  
  1477.  
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.       APPENDIX A                    UEDit                        Page 21
  1503.  
  1504.  
  1505.  
  1506.  
  1507.                       UEDit Configuration File Structure
  1508.  
  1509.  
  1510. #define CFG_VER 201
  1511. #define _PROFILES 8
  1512. #define DATE_OZ   0
  1513. #define DATE_US   1
  1514. #define DATE_JP   2
  1515. #define PRIV_NONE -9
  1516. #define XFLAG_EXPDATREL  0x0080
  1517.  
  1518. typedef struct _profile {       /* UpGrade profile structure            */
  1519.     char title[34];             /* Profile title                        */
  1520.     sword priv;                 /* Access level                         */
  1521.     char cdtset;                /* Set credit flag                      */
  1522.     char expset;                /* Set expiry flag                      */
  1523.     word credit;                /* Matrix credit, in cents              */
  1524.     byte xp_flag;               /* Expiry set flags for expiry          */
  1525.     byte xp_rsvd;               /* Reserved                             */
  1526.     union stamp_combo xp_date;  /* Expiry set Bit-mapped date           */
  1527.     word xpp_mths;              /* Expiry set relative date in months   */
  1528.     dword xp_mins;              /* Expiry set minutes                   */
  1529.     word xp_priv;               /* Expiry set demote priv               */
  1530.     char keys[32];              /* Key flags                            */
  1531. } PROFILE;
  1532.  
  1533. typedef struct _uedit_cfg {     /* CFG_VER = 201                        */
  1534.     char title[78];             /* Title string                         */
  1535.     int ver;                    /* Version number                       */
  1536.     char key[32][16];           /* Key strings                          */
  1537.     char lang[8][9];            /* Language strings                     */
  1538.     char comp[16][10];          /* Compression strings                  */
  1539.     char priv[12][16];          /* Priviledge strings                   */
  1540.     int use_sound;              /* Sound setting                        */
  1541.     int hide_pwd;               /* Hide password                        */
  1542.     int purge_export;           /* Export purged records                */
  1543.     int wel_renum;              /* Renumber Custom welcome files        */
  1544.     int ext_desc;               /* External descriptions                */
  1545.     int mxratio;                /* MS Mouse X ratio                     */
  1546.     int myratio;                /* MS Mouse Y ratio                     */
  1547.     int date_display;           /* Date display type                    */
  1548.     /* Global delete */
  1549.     char gdelpriv[12];          /* Global delete priv process flags     */
  1550.     unsigned int gdeldays[12];  /* Global delete days each priv         */
  1551.     unsigned int gdelcalls[12]; /* Global delete calls each priv        */
  1552.     char gallpriv;              /* Global delete all priv process flag  */
  1553.     unsigned int galldays;      /* Global delete all days flag          */
  1554.     char gdelkeys[32];          /* Global delete key flags              */
  1555.     int gdelexpiry;             /* Global delete expiry set flag        */
  1556.     int gcrtexpiry;             /* Global credit expiry set flag        */
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562.       APPENDIX A                    UEDit                        Page 22
  1563.  
  1564.  
  1565.  
  1566.  
  1567.     /* Global expiry */
  1568.     char gexppriv[12];          /* Global expiry set priv process flags */
  1569.     byte xp_flag;               /* Global expiry set flags for expiry   */
  1570.     byte xp_rsvd;               /* Reserved                             */
  1571.     union stamp_combo xp_date;  /* Global expiry set Bit-mapped date    */
  1572.     dword xp_mins;              /* Global expiry set minutes            */
  1573.     word xp_priv;               /* Global expiry set demote priv        */
  1574.     char gexpkeys[32];          /* Global expiry set key flags          */
  1575.     int gcdtexpset;             /* Global expiry set credit flag        */
  1576.     int govrexpset;             /* Global expiry set overwrite flag     */
  1577.     /* Global keys */
  1578.     char gkeypriv[12];          /* Global keys set priv process flags   */
  1579.     char gkeykeys[32];          /* Global keys set key flags            */
  1580.     int gkeyexpset;             /* Global keys set expiry flag          */
  1581.     int gkeycdtset;             /* Global keys set credit flag          */
  1582.     /* Global credit/debit */
  1583.     char gcdtpriv[12];          /* Global credit priv process flags     */
  1584.     unsigned int gcdtval[12];   /* Global credit value each priv        */
  1585.     char gdbtpriv[12];          /* Global debit priv process flags      */
  1586.     unsigned int gdbtval[12];   /* Global debit value each priv         */
  1587.     char gcdtkeys[32];          /* Global credit/debit key flags        */
  1588.     int gcdtexpiry;             /* Global credit/debit expiry set flag  */
  1589.     /* UpGrade profiles */
  1590.     int pfptr;                  /* Current profile                      */
  1591.     PROFILE profile[_PROFILES]; /* UpGrade profiles                     */
  1592.     char reserved[13];          /* Reserved                             */
  1593. } UEDIT_CFG;
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.       APPENDIX B                    UEDit                        Page 23
  1623.  
  1624.  
  1625.  
  1626.                   Maximus Descriptions File Structure (USER.EXT)
  1627.  
  1628.  
  1629.                 00 'M'          "M!" is the file identification
  1630.                 01 '!'
  1631.              /  02 0x0005       usr.lastread_ptr==5 <-- usr.extra points here
  1632.              |  04 0x0003       Length of description including the NULL
  1633.    Record 1  |  06 'H'          \
  1634.    Active    |  07 'i'          |- Description text
  1635.              \  08 '\0'         /
  1636.              /  09 0x0006       usr.lastread_ptr==6 <-- usr.extra points here
  1637.              |  11 0x8009       Length of description including the NULL
  1638.    Record 2  |  13 'D'          \
  1639.    Deleted   |  14 'e'          |
  1640.              |  15 'l'          |
  1641.              |  16 'e'          |
  1642.              |  17 't'          |- Description text
  1643.              |  18 'e'          |
  1644.              |  19 'd'          |
  1645.              |  20 '!'          |
  1646.              \  21 '\0'         /
  1647.              /  22 0x0007       usr.lastread_ptr==7 <-- usr.extra points here
  1648.              |  24 0x0009       Length of description including the NULL
  1649.              |  26 'T'          \
  1650.              |  27 'h'          |
  1651.              |  28 'e'          |
  1652.              |  29 ' '          |
  1653.    Record 3  |  30 'B'          |- Description text
  1654.    Active    |  31 'O'          |
  1655.              |  32 'S'          |
  1656.              |  33 'S'          |
  1657.              \  34 '\0'         /
  1658.                 35 EOF          End of file
  1659.  
  1660.                    Note that this structure is not stable.
  1661.  
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.